package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.po.Alarm;
import cn.topevery.garden.entity.query.AlarmQuery;
import cn.topevery.garden.entity.vo.AlarmVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

/**
 * 
 *
 * @author code-generate
 * @date 2022-01-07
 */
public interface AlarmDao extends BaseDao<Alarm> {

    

    /**
     * 获取列表
     *
     * @param query
     */
    DataPager<AlarmVO> listPage(AlarmQuery query);

    Alarm getEntityByColumn(String key,String value);

    Integer szcgEvtAlarmEntry();

    Integer ocaEvtAlarmEntry();

    Integer disastersAlarmEntry();

    Integer szcgEvtAlarmEnd();
}
